#pragma once
#include "ThreadTask.h"
#include "Singleton.h"

class ThreadMgr : public Singleton<ThreadMgr>
{
public:

	void AddTask(ThreadTask* task);

private:
	unsigned static __stdcall thread_func(void* param);

};